/**
 * 定义站点信息管理模块
 */
(function(window, angular, undefined){
	var Module = angular.module('water.apps.nanshan.systemConfig.stationManager.stationManager', ['water.apps.common.stationInfo.monitorStationManager',
	                                                                          'water.entity.monitorStation']);
	
	Module.controller('nanshan.config.stationManagerController',function($rootScope,$scope,$controller,$monitorStationService){
		var control = $controller("commonStationManagerController",{$scope:$scope});
		/**
		 * 获取站点列表
		 */
		$scope._getStationsList=function (stationId){
			$monitorStationService.getList({'STATION_ID':stationId,"CITY_CODE":"001002","DISTRICT":"00100202"}).then(function(d){
				$scope.stations = d;
			});
		}
		$scope._getStationsList();
	});
}(window, angular));	